package com.ocom.common.vo.pay;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class UpdateListRechargeVo implements Serializable {

    private static final long serialVersionUID = -1653854953949741583L;
    @NotNull(message = "comId 不能为空")
    private Long comId;
//    @JsonProperty("deptId")
//    private Long deptId;
    @JsonProperty("pId")
    private Long pId;
//    @JsonProperty("accountId")
//    private Long accountId;
    @NotNull(message = "rechargeMoney 不能为空")
    @JsonProperty("rechargeMoney")
    private Long rechargeMoney;
//    @NotNull(message = "accountRechargeMoney 不能为空")
//    @JsonProperty("accountRechargeMoney")
//    private Long accountRechargeMoney;
    @JsonProperty("accountSubsidyMoney")
    private Long accountSubsidyMoney;
//    @JsonProperty("pCode")
//    private String pCode;
//    @JsonProperty("pName")
//    private String pName;
//    @JsonProperty("accountNo")
//    private String accountNo;
//    @JsonProperty("deptName")
//    private String deptName;

    private String remark;


    private Long userId = 0l;
    private String userName = "";


    //充值来源 1 网页 2接口
    private  Integer from = 1;

    //from = 2 的参数
    /**
     * dockApiCode	接口代码	string
     * dockApiName	接口名称	string
     * typeNo	分类编码	int
     * typeName	分类名	strimg
     * orderNo	订单号	string
     */
    private String dockApiCode;
    private String dockApiName;
    private Integer typeNo;
    private String typeName;
    private String orderNo;


    private Integer subAccount = 0;

    private Long merchId = 0l;

}
